<html>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<head>
<title>Chapter 4.&nbsp; Files and Directories</title>
<link rel="STYLESHEET" type="text/css" href="images/style.css">
<link rel="STYLESHEET" type="text/css" href="images/docsafari.css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div STYLE="MARGIN-LEFT: 0.15in;"><a href="toc.html"><img src="images/team.gif" width="60" height="17" border="0" align="absmiddle"  alt="Team BBL"></a></div></td>
<td align="right"><div STYLE="MARGIN-LEFT: 0.15in;">
<a href=ch03lev1sec18.html><img src="images/prev.gif" width="60" height="17" border="0" align="absmiddle" alt="Previous Page"></a>
<a href=ch04lev1sec1.html><img src="images/next.gif" width="60" height="17" border="0" align="absmiddle" alt="Next Page"></a>
</div></td></tr></table>
<br><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td valign="top"><a name="ch04"></a>
<h2 class="docChapterTitle">Chapter 4. Files and Directories</h2>

<a href="17021535.html"><img src="images/pixel.gif" alt="" width="1" height="1" border="0"></a><UL><p class="docList"><a class="docLink" href="ch04lev1sec1.html">
             Section 4.1.&nbsp;
           Introduction</a></P><p class="docList"><a class="docLink" href="ch04lev1sec2.html">
             Section 4.2.&nbsp;
           stat, fstat, and lstat Functions</a></p><p class="docList"><a class="docLink" href="ch04lev1sec3.html">
             Section 4.3.&nbsp;
           File Types</a></P><p class="docList"><a class="docLink" href="ch04lev1sec4.html">
             Section 4.4.&nbsp;
           Set-User-ID and Set-Group-ID</a></P><p class="docList"><a class="docLink" href="ch04lev1sec5.html">
             Section 4.5.&nbsp;
           File Access Permissions</a></P><p class="docList"><a class="docLink" href="ch04lev1sec6.html">
             Section 4.6.&nbsp;
           Ownership of New Files and Directories</a></p><p class="docList"><a class="docLink" href="ch04lev1sec7.html">
             Section 4.7.&nbsp;
           access Function</a></P><p class="docList"><a class="docLink" href="ch04lev1sec8.html">
             Section 4.8.&nbsp;
           umask Function</a></P><p class="docList"><a class="docLink" href="ch04lev1sec9.html">
             Section 4.9.&nbsp;
           chmod and fchmod Functions</a></P><p class="docList"><a class="docLink" href="ch04lev1sec10.html">
             Section 4.10.&nbsp;
           Sticky Bit</a></p><p class="docList"><a class="docLink" href="ch04lev1sec11.html">
             Section 4.11.&nbsp;
           chown, fchown, and lchown Functions</a></P><p class="docList"><a class="docLink" href="ch04lev1sec12.html">
             Section 4.12.&nbsp;
           File Size</a></p><p class="docList"><a class="docLink" href="ch04lev1sec13.html">
             Section 4.13.&nbsp;
           File Truncation</a></P><p class="docList"><a class="docLink" href="ch04lev1sec14.html">
             Section 4.14.&nbsp;
           File Systems</a></P><p class="docList"><a class="docLink" href="ch04lev1sec15.html">
             Section 4.15.&nbsp;
           link, unlink, remove, and rename Functions</a></P><p class="docList"><a class="docLink" href="ch04lev1sec16.html">
             Section 4.16.&nbsp;
           Symbolic Links</a></p><p class="docList"><a class="docLink" href="ch04lev1sec17.html">
             Section 4.17.&nbsp;
           symlink and readlink Functions</a></P><p class="docList"><a class="docLink" href="ch04lev1sec18.html">
             Section 4.18.&nbsp;
           File Times</a></P><p class="docList"><a class="docLink" href="ch04lev1sec19.html">
             Section 4.19.&nbsp;
           utime Function</a></p><p class="docList"><a class="docLink" href="ch04lev1sec20.html">
             Section 4.20.&nbsp;
           mkdir and rmdir Functions</a></P><p class="docList"><a class="docLink" href="ch04lev1sec21.html">
             Section 4.21.&nbsp;
           Reading Directories</a></P><p class="docList"><a class="docLink" href="ch04lev1sec22.html">
             Section 4.22.&nbsp;
           chdir, fchdir, and getcwd Functions</a></p><p class="docList"><a class="docLink" href="ch04lev1sec23.html">
             Section 4.23.&nbsp;
           Device Special Files</a></p><p class="docList"><a class="docLink" href="ch04lev1sec24.html">
             Section 4.24.&nbsp;
           Summary of File Access Permission Bits</a></p><p class="docList"><a class="docLink" href="ch04lev1sec25.html">
             Section 4.25.&nbsp;
           Summary</a></p><p class="docList"><a class="docLink" href="ch04lev1sec26.html">Exercises</a></P></ul></TD></tr></table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div STYLE="MARGIN-LEFT: 0.15in;"><a href="toc.html"><img src="images/team.gif" width="60" height="17" border="0" align="absmiddle"  alt="Team BBL"></a></div></td>
<td align="right"><div STYLE="MARGIN-LEFT: 0.15in;">
<a href=ch03lev1sec18.html><img src="images/prev.gif" width="60" height="17" border="0" align="absmiddle" alt="Previous Page"></a>
<a href=ch04lev1sec1.html><img src="images/next.gif" width="60" height="17" border="0" align="absmiddle" alt="Next Page"></a>
</div></td></tr></table>
</body></html><br>
<table width="100%" cellspacing="0" cellpadding="0"
style="margin-top: 0pt; border-collapse: collapse;"> 
<tr> <td align="right" style="background-color=white; border-top: 1px solid gray;"> 
<a href="http://www.zipghost.com/" target="_blank" style="font-family: Tahoma, Verdana;
 font-size: 11px; text-decoration: none;">The CHM file was converted to HTM by Trial version of <b>ChmD<!--232-->ecompiler</b>.</a>
</TD>
</TR><tr>
<td align="right" style="background-color=white; "> 
<a href="http://www.etextwizard.com/download/cd/cdsetup.exe" target="_blank" style="font-family: Tahoma, Verdana;
 font-size: 11px; text-decoration: none;">Download <b>ChmDec<!--232-->ompiler</b> at: http://www.zipghost.com</a>
</TD></tr></table>
